"use strict";

/**
 * @auther wtfssd
 * Created by wtfssd on 2017/10/24
 */
import * as React from 'react'

import TestPage from "../test/Test.";
const {View, Text, StyleSheet} = require('react-native');
const {DefaultRenderer, Actions} = require('react-native-router-flux');
import Drawer from 'react-native-drawer';

class DrawerPage extends React.Component<any, any> {


    leftSideMenu = null;

    constructor(props: any, context: any) {
        super(props, context);
        // console.log(props);
        // console.log(Drawer);
    }

    render() {

        return (
            <Drawer
              
                content={<TestPage />}
            >
                     <TestPage/>
            </Drawer>
        )
    }
}

const styles = StyleSheet.create({
    container: {
        display: 'flex',
        flex: 1,
        backgroundColor: '#efefef'
    },

});


const drawerStyles = {
    drawer: {
        shadowColor: '#000000',
        shadowOpacity: 0.7,
        shadowRadius: 5
    }
}

export default DrawerPage;